<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title> 后台管理开发框架</title>
<link href="/favicon.ico" rel="icon">
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="/static/admin/layui/css/layui.css" rel="stylesheet" type="text/css" />
<link href="/static/admin/css/style.css" rel="stylesheet" type="text/css" />
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="layui-fluid layui-bg-white">
    <form action="{:url('/system.database/config')}" class="layui-form layui-form-fixed">
        <div class="layui-form-item">
            <label class="layui-form-label"><font color="red">* </font>备份路径</label>
            <div class="layui-input-block">
                <input name="database[path]" placeholder="备份路径" type="text" value="{$data.path}"
                class="layui-input"  lay-verify="required" />
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">单文件大小</label>
            <div class="layui-input-block">
                <input name="database[part]" placeholder="单文件大小,单位字节" type="text" value="{$data.part}"
                class="layui-input"  lay-verify="required"/>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">是否压缩</label>
            <div class="layui-input-block">
                <select name="database[compress]" id="">
                    <option value="1" <eq name="$data.compress" value="1"> selected </eq> >开启</option>
                    <option value="0" <eq name="$data.compress" value="0"> selected </eq> >关闭</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">压缩率</label>
            <div class="layui-input-block">
                <select name="database[level]" >
                    <option value="2" <eq name="$data.level" value="2"> selected </eq> >低</option>
                    <option value="5" <eq name="$data.level" value="5"> selected </eq> >中</option>
                    <option value="9" <eq name="$data.level" value="9"> selected </eq> >高</option>
                </select>
            </div>
        </div>

        <div class="layui-footer layui-form-item layui-center"  >
            <button class="layui-btn layui-btn-primary" type="button" pa-event="closeDialog" >取消</button>
            <button class="layui-btn" lay-filter="submitIframe"  lay-submit>提交</button>
        </div>        
    </form>
</div>
<script src="/static/admin/layui/layui.js?v=1.0.0"></script>
<script src="/static/admin/js/common.js?v=1.0.0"></script>